GNFORCEINLINE void GnFile::FileOpen( gtchar* fileName, gtchar* openMode )
{
	GnTfopen( &mFile, fileName, openMode );
	if( mFile == NULL )
		return;
}

GNFORCEINLINE void GnFile::FileClose()
{
	int ret = fclose( mFile );
	GnAssert( ret == 0 );
}

inline bool GnFile::IsExistFile( gtchar* fileName )
{
	return GnTaccess( fileName, 0 ) == 0;
}